//
//  LCTaskDetailModel.m
//  lechuang
//
//  Created by Mr_hi on 2023/4/13.
//  Copyright © 2023 Mooyi. All rights reserved.
//

#import "LCTaskDetailModel.h"

@implementation LCTaskDetailStepcfgModel

@end

@implementation LCTaskDetailStepModel

-(NSString *)textStr {
    return [TWHRichTextTool changeToString:self.stepcontext];
}

-(NSArray *)imgArr {
    return [TWHRichTextTool imageArrWithHtml:self.stepcontext];
}

@end

@implementation LCTaskDetailExtendModel

+(NSDictionary *)mj_objectClassInArray {
    return @{@"step":@"LCTaskDetailStepModel"};
}

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    return @{@"downloadid":@"download.downloadid",
             @"launchnum":@"launch.launchnum",
             @"usenum":@"launch.usenum",
             @"rewardid":@"reward[0].rewardid",
             @"rewardkey":@"reward[0].rewardkey"
    };
}

@end

@implementation LCTaskDetailModel

@end
